package com.sc.nft.entity.vo.tradingPool;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/28 15:05
 */
@Data
public class TradingPoolVO implements Serializable {

    private static final long serialVersionUID = 6148838350149138009L;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("品牌id")
    private Long daoId;

    @ApiModelProperty("品牌名称")
    private String daoName;

    @ApiModelProperty("藏品id")
    private Long collectionId;

    @ApiModelProperty("藏品名称")
    private String collectionName;

    @ApiModelProperty("交易池名称")
    private String name;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("初始资金")
    private BigDecimal currentAmount;

    @ApiModelProperty("初始库存")
    private Integer currentStock;

    @ApiModelProperty("初始价格")
    private BigDecimal currentPrice;

    @ApiModelProperty("最大涨幅百分比")
    private BigDecimal maxIncreasePercentage;

    @ApiModelProperty("最大跌幅百分比")
    private BigDecimal maxDecreasePercentage;

    @ApiModelProperty("最大价格")
    private BigDecimal maxPrice;

    @ApiModelProperty("最小价格")
    private BigDecimal minPrice;

    @ApiModelProperty("手续费率")
    private BigDecimal feeRate;

    @ApiModelProperty("上链费")
    private BigDecimal gas;

    @ApiModelProperty("活动规则")
    private String activityRule;

    @ApiModelProperty("状态")
    private Boolean status;

}
